package com.zyg.apart.service;

import java.util.List;
import java.util.Map;

import com.github.pagehelper.PageInfo;
import com.zyg.apart.model.Lessee;
import org.springframework.stereotype.Repository;


@Repository
public interface LesseeService {


    PageInfo<Map<String, Object>> getAllLS(Integer currentPage);

    Lessee getLSById(Integer id);

    int addLessee(Lessee lessee);

    int editLessee(Lessee lessee);

    List<Lessee> getLSNames();

    int delLesseeById(Integer id);
}
